package com.arobot.calc.model;

public abstract class State {
      
	   protected Cpu cpu;
       protected Display display;
       
       public State (Cpu cpu){ 
    	   this.cpu = cpu;
    	   display = this.cpu.getDisplayRegister();
       }
       public abstract State enterDigit(String digit);
       
	   public abstract State enterOperation(Operation op);
	   
       public abstract State enterValue(Operation op);
}
